package com.example.spinning.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * @author bayernxmt
 * @create 2020-08-22-11:32
 * 用于批量删除时，将数组转为list
 */
public class ArrayToListUtils {
    public static List<Integer> format(Integer[] ids){
        //数组转为list
        List<Integer> id = new ArrayList<>();
        for (int i = 0; i <ids.length ; i++) {
            id.add(ids[i]);
        }
        return id;
    }
}
